/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2023-03-01
 * Time:12:09
 */
public enum BasicColor {
    RED;
    static {

        System.out.println("Static init");

    }

    {

        System.out.println("Init block");

    }

    BasicColor(){

        System.out.println("Constructor");

    }

    public static void main(String args[]) {

        BasicColor red = BasicColor.RED;

    }

}


